@import "businessTheme";

html, body {
  .el-select-dropdown.el-popper {
    padding-bottom: 10px;
  }

  .el-tabs {
    height: 100%;
    width: 100%;

    .el-tabs__content {
      height: calc(100% - 55px);
      width: 100%;
      overflow: hidden;

      .el-tab-pane {
        height: 100%;
        width: 100%;
        overflow: hidden;
      }
    }
  }

  .el-row {
    .el-col {
    }
  }

  .el-empty {
    height: 100%;
    width: 100%;
  }

  .el-form {
    .el-form-item.column-item {
      display: flex;
      flex-direction: column;

      .el-form-item__label {
        width: 100% !important;
        display: flex;
        justify-content: flex-start;
      }

      .el-form-item__content {
        margin-left: 0 !important;
      }
    }

    .el-form-item.row-item {
      width: 100%;

      .el-form-item__content {
        display: flex;
        justify-content: space-between;
        width: 100% !important;
        margin: 0 !important;

        &::before, &::after {
          width: 0;
          height: 0;
        }
      }
    }

    .el-form-item.half-item {
      width: 49%;
      display: inline-block;

      .el-form-item__content {
        .el-date-editor {
          width: 100%;
        }
      }
    }
  }


  //  修改element滚动条
  .el-scrollbar {
    width: 100%;
    height: 100%;
    overflow-x: hidden;

    .el-scrollbar__wrap {
      overflow-x: hidden;
    }
  }

  .el-dialog {
    border-radius: 10px;
    //设置body容器样式
    .el-dialog__body {
      padding-top: 10px;
      padding-bottom: 10px;
    }
  }

  //  表格
  .el-table {
    &.single-choice {
      .el-table__header-wrapper {
        .el-table__header {
          .el-table-column--selection {
            .cell {
              display: none;
            }
          }
        }
      }
    }

    &.stat-table {
      //设置表头文本样式
      .el-table__header-wrapper {

        .el-table__header {
          .has-gutter {
            color: rgba(144, 147, 153, 1); //设置表头字体颜色
            tr {
              th {
                background: rgba(247, 248, 250, 1);
              }
            }
          }
        }

      }

      // 设置统计内表格（整改情况排行列表及监管人员抽查情况列表）内容样式
      .el-table__body-wrapper {
        .blue-font {
          color: $bt-color;
        }

        .el-tag {
          font-size: $thirdly-font-size;
        }
      }
    }


    .el-table__header-wrapper {
      .has-gutter {
        tr {
          th {
            padding: 6px 0;
          }
        }
      }

      .el-table__header {
        .cell {
          font-size: $thirdly-font-size;
        }
      }
    }

    .el-table__body-wrapper {
      .el-table__body {
        .el-table__row {
          .cell {
            font-size: $thirdly-font-size;
          }
        }
      }
    }
  }

  //  按钮
  .el-button {
    font-size: $thirdly-font-size;
  }

  //  菜单
  .el-menu {
    .el-submenu {
      .el-submenu__title {
        font-size: $second-font-size;
      }
    }

    .el-menu-item {
      font-size: $second-font-size;
    }
  }

  //  面包屑
  .el-breadcrumb {
    .el-breadcrumb__item {
      .el-breadcrumb__inner, .el-breadcrumb__separator {
        font-size: $thirdly-font-size;
      }
    }
  }
}
